﻿<%@ page language="java" contentType="text/html; charse=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:include page="./tmp/header.jsp"/>
<div class="main-content">
<iframe src="/admin/welcome.html"  name="external-frame" id="external-frame" style="width: 100%" frameborder="no" border="0" marginwidth="0" marginheight="0"  allowtransparency="yes"></iframe>
</div>
<script type="text/javascript">
<!--

//-->
function setIframeHeight(iframe) {
		var ifm= iframe;   
		var subWeb = document.frames ? document.frames["iframepage"].document : ifm.contentDocument;   
		if(ifm != null && subWeb != null) {
		   ifm.height = subWeb.body.scrollHeight + 10;
		   //ifm.width = subWeb.body.scrollWidth;
		}   
	};

	window.onload = function () {
	setIframeHeight(document.getElementById('external-frame'));
	};
</script>
<jsp:include page="./tmp/footer.jsp"/>